<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      let yonhu = prompt("输入用户名");
      let mima = prompt("输入密码");
      if (yonhu === "pink" && mima === "123456") {
        alert("正确");
      } else {
        alert("账号或密码错误");
      }
    </script>
  </body>
</html>
